import { isMultipleOf3, isMultipleOf5, isMultipleOf7 } from './rule_2';

export const isMultipleOf3and5 = (number: number): boolean => {
    return isMultipleOf3(number) && isMultipleOf5(number);
}

export const isMultipleOf3and7 = (number: number): boolean => {
    return isMultipleOf3(number) && isMultipleOf7(number);
}

export const isMultipleOf5and7 = (number: number): boolean => {
    return isMultipleOf5(number) && isMultipleOf7(number);
}
export const isMultipleOf3and5and7 = (number: number): boolean => {
    return isMultipleOf3(number) && isMultipleOf5(number) && isMultipleOf7(number);
}

export const isNotMultipleOf3and5and7 = (number: number): boolean => {
    return !isMultipleOf3(number) && !isMultipleOf5(number) && !isMultipleOf7(number);
}